package com.cloud.shopping.goods.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cloud.shopping.goods.model.Brand;

import java.util.List;

/**
 * @author John.Zhang
 * @version Id: BrandService, v 0.1 2020/12/25 14:14 ZhiYong Exp $
 */
public interface BrandService extends IService<Brand> {

    /**
     * 条件查询
     *
     * @param brand brand
     * @return List
     */
    List<Brand> queryList(Brand brand);

    /**
     * 条件分页查询
     *
     * @param brand       brand
     * @param currentPage currentPage
     * @param size        size
     * @return Page
     */
    Page<Brand> queryPageList(Brand brand, Long currentPage, Long size);

}
